Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SetChannelSamples16(Int16[],Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformChannel Class > SetChannelSamples16 Method : SetChannelSamples16(Int16[],Int32) Method




samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer
Sets 16-bit data for a channel.

Syntax

Visual Basic (Declaration) 
Overloads Public Function SetChannelSamples16( _
   ByVal samples() As Short, _
   ByVal count As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim samples() As Short
Dim count As Integer
Dim value As Integer
 
value = instance.SetChannelSamples16(samples, count)
C# 
public int SetChannelSamples16( 
   short[] samples,
   int count
)
Managed Extensions for C++ 
public: int SetChannelSamples16( 
   short[] samples,
   int count
) 
C++/CLI 
public:
int SetChannelSamples16( 
   array<short> samples,
   int count
) 

Parameters

samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer

Return Value

The actual number of samples set for the channel.

Example

For an example, refer to WaveformGroupCount.

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features